package com.tjetc.dao;

import com.tjetc.pojo.vo.AmenitiesNameVO;

import java.util.List;

/**
 * @Author: itda
 * @Date: 2024/5/11 9:01
 * @Description: AmenitiesDao
 */
public interface AmenitiesDao {
    /**
     * 根据酒店id删除关联的设施信息
     * @param hotelId
     */
    void deleteByHotelId(Long hotelId) throws Exception;

    /**
     * 根据酒店id获取关联的设施集合
     * @param hotelId
     * @return
     */
    List<AmenitiesNameVO> getByHotelId(Long hotelId) throws Exception;
}
